This will let us identify when we have to re-lookup
icons because they may have changed despite the theme
object being the same.
GList *dir_mtimes;
gulong theme_changed_idle;
+
+ int serial;
};
struct _GtkIconThemeClass
self->unthemed_icons = NULL;
self->dir_mtimes = NULL;
self->themes_valid = FALSE;
+ self->serial++;
+}
+
+int
+gtk_icon_theme_get_serial (GtkIconTheme *self)
+{
+ return self->serial;
}
static void
const GdkRGBA *warning_color,
const GdkRGBA *error_color);
+int gtk_icon_theme_get_serial (GtkIconTheme *self);
+
#endif /* __GTK_ICON_THEME_PRIVATE_H__ */